package cn.weiyang.at;

public class TestExercise {

	public static void main(String[] args) {
		for (test("A"); test2("B"); test("C")){
			test("D");
		}
	}
	static void test(String str){
		System.out.print(str);
	}
	static int count=0;
	static boolean test2(String str){
		System.out.print(str);
		if(count>0)
			return false;
		count++;
		return true;
	} 
}